package com.syw.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * SywCustomer entity. @author MyEclipse Persistence Tools
 */

public class SywCustomer implements java.io.Serializable {

	// Fields

	private int id;
	private SywHands sywHands;
	private String name;
	private String card;
	private String address;
	private String telephone;
	private Double consumeds;
	private Date begindate;
	private Date enddate;
	private String cstate;
	private Set sywProjectrecords = new HashSet(0);

	// Constructors

	/** default constructor */
	public SywCustomer() {
	}

	/** minimal constructor */
	public SywCustomer(SywHands sywHands, String cstate) {
		this.sywHands = sywHands;
		this.cstate = cstate;
	}

	/** full constructor */
	public SywCustomer(SywHands sywHands, String name, String card,
			String address, String telephone, Double consumeds, Date begindate,
			Date enddate, String cstate, Set sywProjectrecords) {
		this.sywHands = sywHands;
		this.name = name;
		this.card = card;
		this.address = address;
		this.telephone = telephone;
		this.consumeds = consumeds;
		this.begindate = begindate;
		this.enddate = enddate;
		this.cstate = cstate;
		this.sywProjectrecords = sywProjectrecords;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public SywHands getSywHands() {
		return this.sywHands;
	}

	public void setSywHands(SywHands sywHands) {
		this.sywHands = sywHands;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCard() {
		return this.card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Double getConsumeds() {
		return this.consumeds;
	}

	public void setConsumeds(Double consumeds) {
		this.consumeds = consumeds;
	}

	public Date getBegindate() {
		return this.begindate;
	}

	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}

	public Date getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public String getCstate() {
		return this.cstate;
	}

	public void setCstate(String cstate) {
		this.cstate = cstate;
	}

	public Set getSywProjectrecords() {
		return this.sywProjectrecords;
	}

	public void setSywProjectrecords(Set sywProjectrecords) {
		this.sywProjectrecords = sywProjectrecords;
	}

}